# -*- encoding: utf-8 -*-


class Config(object):
    SECRET_KEY = 'af2fad8cfe1f4c5fac4aa5edf6fcc8f3'
    SQLALCHEMY_DATABASE_URI = "mysql://root:123456@192.168.4.40:3306/movie"

    @staticmethod
    def init_app(app):
        pass


class DevelopmentConfig(Config):
    DEBUG = True


class TestingConfig(Config):
    TESTING = True


class ProductionConfig(Config):
    pass


config = {
    'development': DevelopmentConfig,
    'testing': TestingConfig,
    'production': ProductionConfig,

    'default': DevelopmentConfig
}
